﻿using UIKit.Controls;

namespace WP7UIKit.Model
{
    public class DataItem : IImageModel
    {
        #region Fields
        private bool _isChecked;
        #endregion

        #region Constructor
        public DataItem(string url,double imgRatio)
        {
            this.Url = url;
            this.ImgRatio = imgRatio;
        }
        #endregion

        #region Properties

        public bool IsChecked
        {
            get { return _isChecked; }
            set
            {
                if (value != _isChecked)
                {
                    _isChecked = value;
                    this.NotifyProeprtyChanged("IsChecked");
                }
            }
        }
        #endregion
    }
}
